<script setup lang="ts">
import { ref } from 'vue'

const props = defineProps({
	bottom:{
		type:Number,
		default:0
	}
})


// const bottom = ref<number>(0)
// uni.getSystemInfo({
//     success: (e) => {
//         console.log(e)
//         bottom.value += e.windowBottom
//     }
// })
</script>

<template>
    <view class="bottom" :style="{ bottom: bottom + 'rpx' }">
        <slot></slot>
    </view>
</template>

<style lang="scss" scoped>
.bottom {
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 99;
}
</style>
